from django.urls import re_path

from analysis.apps import AnalysisConfig

from .views import *

app_name = AnalysisConfig.name


urlpatterns = [
    # Static
    re_path(r'^sales_static/$', SalesStaticView.as_view(), name='sales_static'),
    re_path(r'^product_sales/$', ProductSaleStaticView.as_view(), name='product_sales'),
    re_path(r'^storages/$', StorageStaticView.as_view(), name='storages'),
    re_path(r'^staff_sales_analysis/$', StaffSalesAnalysisView.as_view(), name='staff_sales_analysis'),
    re_path(r'^department_sales_statistic/$', DepartmentSalesStatisticView.as_view(),
            name='department_sales_statistic'),
]
